/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package modulos.consulta.oftalmologia.modelo;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Temporal;
import modulos.paciente.modelo.Paciente;

/**
 *
 * @author francisco
 */
@Entity
public class RecetaOftalmologia implements Serializable{
    @Id
    @GeneratedValue(strategy= GenerationType.AUTO)
    private int idRecetaOft;
    private String distEsfOD;
    private String distEsfOI;
    private String distCilOD;
    private String distCilOI;
    private String distEjeOD;
    private String distEjeOI;
    private String distPrismaOD;
    private String distPrismaOI;
    private String distDiOD;
    private String distDiOI;
    private String distDnpOD;
    private String distDnpOI;
    private String lectEsfOD;
    private String lectEsfOI;
    private String lectCilOD;
    private String lectCilOI;
    private String lectEjeOD;
    private String lectEjeOI;
    private String lectPrismaOD;
    private String lectPrismaOI;
    private String lectDiOD;
    private String lectDiOI;
    private String lectDnpOD;
    private String lectDnpOI;
    private String adicionOD;
    private String adicionOI;
    private String material;
    private String color;
    private String altura;
    private String observaciones;
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date fechaReceta;
    @ManyToOne
    private Paciente paciente;
    /**
     * @return the idRecetaOft
     */
    public int getIdRecetaOft() {
        return idRecetaOft;
    }

    /**
     * @param idRecetaOft the idRecetaOft to set
     */
    public void setIdRecetaOft(int idRecetaOft) {
        this.idRecetaOft = idRecetaOft;
    }

    /**
     * @return the distEsfOD
     */
    public String getDistEsfOD() {
        return distEsfOD;
    }

    /**
     * @param distEsfOD the distEsfOD to set
     */
    public void setDistEsfOD(String distEsfOD) {
        this.distEsfOD = distEsfOD;
    }

    /**
     * @return the distEsfOI
     */
    public String getDistEsfOI() {
        return distEsfOI;
    }

    /**
     * @param distEsfOI the distEsfOI to set
     */
    public void setDistEsfOI(String distEsfOI) {
        this.distEsfOI = distEsfOI;
    }

    /**
     * @return the distCilOD
     */
    public String getDistCilOD() {
        return distCilOD;
    }

    /**
     * @param distCilOD the distCilOD to set
     */
    public void setDistCilOD(String distCilOD) {
        this.distCilOD = distCilOD;
    }

    /**
     * @return the distCilOI
     */
    public String getDistCilOI() {
        return distCilOI;
    }

    /**
     * @param distCilOI the distCilOI to set
     */
    public void setDistCilOI(String distCilOI) {
        this.distCilOI = distCilOI;
    }

    /**
     * @return the distEjeOD
     */
    public String getDistEjeOD() {
        return distEjeOD;
    }

    /**
     * @param distEjeOD the distEjeOD to set
     */
    public void setDistEjeOD(String distEjeOD) {
        this.distEjeOD = distEjeOD;
    }

    /**
     * @return the distEjeOI
     */
    public String getDistEjeOI() {
        return distEjeOI;
    }

    /**
     * @param distEjeOI the distEjeOI to set
     */
    public void setDistEjeOI(String distEjeOI) {
        this.distEjeOI = distEjeOI;
    }

    /**
     * @return the distPrismaOD
     */
    public String getDistPrismaOD() {
        return distPrismaOD;
    }

    /**
     * @param distPrismaOD the distPrismaOD to set
     */
    public void setDistPrismaOD(String distPrismaOD) {
        this.distPrismaOD = distPrismaOD;
    }

    /**
     * @return the distPrismaOI
     */
    public String getDistPrismaOI() {
        return distPrismaOI;
    }

    /**
     * @param distPrismaOI the distPrismaOI to set
     */
    public void setDistPrismaOI(String distPrismaOI) {
        this.distPrismaOI = distPrismaOI;
    }

    /**
     * @return the distDiOD
     */
    public String getDistDiOD() {
        return distDiOD;
    }

    /**
     * @param distDiOD the distDiOD to set
     */
    public void setDistDiOD(String distDiOD) {
        this.distDiOD = distDiOD;
    }

    /**
     * @return the distDiOI
     */
    public String getDistDiOI() {
        return distDiOI;
    }

    /**
     * @param distDiOI the distDiOI to set
     */
    public void setDistDiOI(String distDiOI) {
        this.distDiOI = distDiOI;
    }

    /**
     * @return the distDnpOD
     */
    public String getDistDnpOD() {
        return distDnpOD;
    }

    /**
     * @param distDnpOD the distDnpOD to set
     */
    public void setDistDnpOD(String distDnpOD) {
        this.distDnpOD = distDnpOD;
    }

    /**
     * @return the distDnpOI
     */
    public String getDistDnpOI() {
        return distDnpOI;
    }

    /**
     * @param distDnpOI the distDnpOI to set
     */
    public void setDistDnpOI(String distDnpOI) {
        this.distDnpOI = distDnpOI;
    }

    /**
     * @return the lectEsfOD
     */
    public String getLectEsfOD() {
        return lectEsfOD;
    }

    /**
     * @param lectEsfOD the lectEsfOD to set
     */
    public void setLectEsfOD(String lectEsfOD) {
        this.lectEsfOD = lectEsfOD;
    }

    /**
     * @return the lectEsfOI
     */
    public String getLectEsfOI() {
        return lectEsfOI;
    }

    /**
     * @param lectEsfOI the lectEsfOI to set
     */
    public void setLectEsfOI(String lectEsfOI) {
        this.lectEsfOI = lectEsfOI;
    }

    /**
     * @return the lectCilOD
     */
    public String getLectCilOD() {
        return lectCilOD;
    }

    /**
     * @param lectCilOD the lectCilOD to set
     */
    public void setLectCilOD(String lectCilOD) {
        this.lectCilOD = lectCilOD;
    }

    /**
     * @return the lectCilOI
     */
    public String getLectCilOI() {
        return lectCilOI;
    }

    /**
     * @param lectCilOI the lectCilOI to set
     */
    public void setLectCilOI(String lectCilOI) {
        this.lectCilOI = lectCilOI;
    }

    /**
     * @return the lectEjeOD
     */
    public String getLectEjeOD() {
        return lectEjeOD;
    }

    /**
     * @param lectEjeOD the lectEjeOD to set
     */
    public void setLectEjeOD(String lectEjeOD) {
        this.lectEjeOD = lectEjeOD;
    }

    /**
     * @return the lectEjeOI
     */
    public String getLectEjeOI() {
        return lectEjeOI;
    }

    /**
     * @param lectEjeOI the lectEjeOI to set
     */
    public void setLectEjeOI(String lectEjeOI) {
        this.lectEjeOI = lectEjeOI;
    }

    /**
     * @return the lectPrismaOD
     */
    public String getLectPrismaOD() {
        return lectPrismaOD;
    }

    /**
     * @param lectPrismaOD the lectPrismaOD to set
     */
    public void setLectPrismaOD(String lectPrismaOD) {
        this.lectPrismaOD = lectPrismaOD;
    }

    /**
     * @return the lectPrismaOI
     */
    public String getLectPrismaOI() {
        return lectPrismaOI;
    }

    /**
     * @param lectPrismaOI the lectPrismaOI to set
     */
    public void setLectPrismaOI(String lectPrismaOI) {
        this.lectPrismaOI = lectPrismaOI;
    }

    /**
     * @return the lectDiOD
     */
    public String getLectDiOD() {
        return lectDiOD;
    }

    /**
     * @param lectDiOD the lectDiOD to set
     */
    public void setLectDiOD(String lectDiOD) {
        this.lectDiOD = lectDiOD;
    }

    /**
     * @return the lectDiOI
     */
    public String getLectDiOI() {
        return lectDiOI;
    }

    /**
     * @param lectDiOI the lectDiOI to set
     */
    public void setLectDiOI(String lectDiOI) {
        this.lectDiOI = lectDiOI;
    }

    /**
     * @return the lectDnpOD
     */
    public String getLectDnpOD() {
        return lectDnpOD;
    }

    /**
     * @param lectDnpOD the lectDnpOD to set
     */
    public void setLectDnpOD(String lectDnpOD) {
        this.lectDnpOD = lectDnpOD;
    }

    /**
     * @return the lectDnpOI
     */
    public String getLectDnpOI() {
        return lectDnpOI;
    }

    /**
     * @param lectDnpOI the lectDnpOI to set
     */
    public void setLectDnpOI(String lectDnpOI) {
        this.lectDnpOI = lectDnpOI;
    }

    /**
     * @return the adicionOD
     */
    public String getAdicionOD() {
        return adicionOD;
    }

    /**
     * @param adicionOD the adicionOD to set
     */
    public void setAdicionOD(String adicionOD) {
        this.adicionOD = adicionOD;
    }

    /**
     * @return the adicionOI
     */
    public String getAdicionOI() {
        return adicionOI;
    }

    /**
     * @param adicionOI the adicionOI to set
     */
    public void setAdicionOI(String adicionOI) {
        this.adicionOI = adicionOI;
    }

    /**
     * @return the material
     */
    public String getMaterial() {
        return material;
    }

    /**
     * @param material the material to set
     */
    public void setMaterial(String material) {
        this.material = material;
    }

    /**
     * @return the color
     */
    public String getColor() {
        return color;
    }

    /**
     * @param color the color to set
     */
    public void setColor(String color) {
        this.color = color;
    }

    /**
     * @return the altura
     */
    public String getAltura() {
        return altura;
    }

    /**
     * @param altura the altura to set
     */
    public void setAltura(String altura) {
        this.altura = altura;
    }

    /**
     * @return the observaciones
     */
    public String getObservaciones() {
        return observaciones;
    }

    /**
     * @param observaciones the observaciones to set
     */
    public void setObservaciones(String observaciones) {
        this.observaciones = observaciones;
    }

    /**
     * @return the paciente
     */
    public Paciente getPaciente() {
        return paciente;
    }

    /**
     * @param paciente the paciente to set
     */
    public void setPaciente(Paciente paciente) {
        this.paciente = paciente;
    }

    /**
     * @return the fechaReceta
     */
    public Date getFechaReceta() {
        return fechaReceta;
    }

    /**
     * @param fechaReceta the fechaReceta to set
     */
    public void setFechaReceta(Date fechaReceta) {
        this.fechaReceta = fechaReceta;
    }
   
}
